package com.leather.common.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
*
*  @author kevin
*/
@Data
@TableName("activity")
public class Activity implements Serializable {

    private static final long serialVersionUID = 1552290962101L;


    /**
    * 主键
    * 默认自增主键
    * isNullAble:0
    */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
    * 活动名称
    * isNullAble:0
    */
    private String activityTitle;

    /**
    * 活动描述
    * isNullAble:0
    */
    private String activityDesc;

    /**
    * 开始时间
    * isNullAble:1
    */
    private Date startTime;

    /**
    * 
    * isNullAble:1
    */
    private Date endTime;

    /**
    * 发布时间
    * isNullAble:1
    */
    private Date createTime;

    /**
    * 最大人数
    * isNullAble:1
    */
    private Integer maxPeople;

    /**
    * 当前报名人数
    * isNullAble:1
    */
    private Integer nowPeople;

    /**
    * 发布人id
    * isNullAble:1
    */
    private Integer userId;

    /**
    * 删除标记
    * isNullAble:1,defaultVal:0
    */
    private Integer flag;


    private String activityAddress;

}
